package com.example.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class Student {
    private Integer stuNumb;
    private String stuName;
    private Integer stuAge;
    private Integer classId;

    public Student(Integer stuNumb, String stuName, Integer stuAge, Integer classId) {
        this.stuNumb = stuNumb;
        this.stuName = stuName;
        this.stuAge = stuAge;
        this.classId = classId;
    }

    private Classes classes;
}